 |
API Documentation
|
|
|
Symbolizes a thread. Base block to submit off-thread nkTasks::Task in this component.
Definition: Thread.h:12
Thread * getThread(unsigned int index) const
void resizeForThreadCount(size_t threadCount)
void resolveTask(nkMemory::UniquePtr< SchedulerTask > task)
unsigned int getThreadCount() const
Encompasses all API of component NilkinsTasks.
Definition: LogManager.h:7
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
void addTask(nkMemory::UniquePtr< SchedulerTask > task)
Scheduler(unsigned int threadCount=0)
void cancelPendingTasks()
Manages a ThreadPool and eases the synchronization with the managing thread.
Definition: Scheduler.h:12